#ifndef PLAYERFORM_H
#define PLAYERFORM_H

#include <QWidget>
#include <QTime>



namespace Ui {
class PlayerForm;
}

class PlayerForm : public QWidget
{
    Q_OBJECT

public:
    explicit PlayerForm(QWidget *parent = nullptr);
    ~PlayerForm();
    int number;
    int coin=20;
    bool alive=true;
    bool looked=false;
    int confi=50;
    int risk=50;
    int type=-1;
    int capital[2]={0,0};
    int sub=0;
    int subsub=0;
    void newsection();
    int  onescard[3]={0};
    void judge();
    void defeated();
    void setcoin();
    void setlooked();
    void bwin();
public slots:

private:
    Ui::PlayerForm *ui;
};

#endif // PLAYERFORM_H
